#ifndef TG_PAGE_H
#define TG_PAGE_H

#include <QGraphicsItem>

class TgDocument;
class TgPageSettings;

class TgPage : public QGraphicsItem
{
    typedef QGraphicsItem BaseClass;

public:
    friend class TgDocument;

    virtual QRectF boundingRect() const;

    virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);

protected:
    TgPage(TgPageSettings* settings);

    TgPageSettings* m_settings;
};

#endif // TG_PAGE_H
